/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Fenetre.BoutonListener;

import Fenetre.FenetreException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author Simon
 */
public class ButtonListenerException implements ActionListener {
    
    private FenetreException fenetre;

    public ButtonListenerException(FenetreException fenetre) {
        this.fenetre = fenetre;
    }

    @Override
    public void actionPerformed(ActionEvent ae) {
        
        this.fenetre.dispose();
    }
    
}
